<?php
header('Cache-Control: no-cache, must-revalidate');
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
header('Content-type: application/json');
include "../Classes/class.Telefonos_class.php";
$class= new Telefonos_class();
$class->delete($_POST['id']);
$json=array();
$op='';
if($class->database->result)
{
	$op=1;
}
else 
{
	$op=0;
}
$json['op']=$op;
echo json_encode($json);

?>